import gtk
import clutter
import filepicker
import encode

#chooser = filepicker.VideoSelector()

#chooser.choose_file()
encoder = encode.Encoder()

#def get_selected(target, arg):
#print target
#print arg
global encoder
encoder.set_input_filename('/home/nick/Examples/Ubuntu_Free_Culture_Showcase/StopMotionUbuntu.ogv')
#encoder.set_input_filename(arg[0])
encoder.set_output_dimensions(320, 200)
encoder.encode()

    
    
#chooser.connect('selection', get_selected)
#clutter.main()